//package cn.vconinfo.app.mvc;
//
//import cn.vconinfo.app.interceptor.TraceIdInterceptor;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
//import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;
//
///**
// * @author vconinfo
// * @createdOn 2019/5/27
// * @description:
// */
//@Configuration
//public class WebMvcConfig extends WebMvcConfigurationSupport {
//
////	@Override
////	protected void addResourceHandlers(ResourceHandlerRegistry registry) {
////		// super.addResourceHandlers(registry);
////		registry.addResourceHandler("/static/**").addResourceLocations("classpath:/static/");
////		registry.addResourceHandler("swagger-ui.html")
////				.addResourceLocations("classpath:/META-INF/resources/");
////		registry.addResourceHandler("/webjars/**")
////				.addResourceLocations("classpath:/META-INF/resources/webjars/");
////
////	}
//
//
//	@Override
//	public void addInterceptors(InterceptorRegistry registry) {
//		//日志链路追踪拦截器
//		registry.addInterceptor(new TraceIdInterceptor()).addPathPatterns("/**");
//		super.addInterceptors(registry);
//	}
//
//}
